package com.audaque.springboot.foshanupload.run.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zgb
 * @desc ...
 * @date 2022-05-31 16:25:40
 */
@Data
@Component
public class ServerinfoProperties {
    //这里定义为静态变量，将注入延后到容器创建好后
    public static String ip;
    public static Integer serverPort;
    public static String applicationContextPath;
    public static String serverUrl;
    public static Integer devtoolsLivereloadPort;
    public static Integer managementServerPort;
    public static String managementUrl;
}
